
//----------------------------------------------------------------
// Copyright (C) 2009 上海EZCRS
// 版权所有。 
// All rights reserved.

// 文件名：MsgProtocolConfigBean.cs
// 文件功能描述：消息协议配置
// 
// 
// 创建标识： kevin  2009-6-25 11:18:39
//
// 修改标识：
// 修改描述：
//----------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Strive.Util.Text;
using Strive.Util.Logging;
using Strive.Core.Validations;
using Strive.Core.Service;
using Strive.Core.Translators;
using Strive.Util.Maths;
using Strive.Reflection;
using Strive.Aspects;
using Strive.DataAccess;
using OTA.Notification.Entity;
using OTA.Notification.Entity.Protocol;

namespace OTA.Notification.Entity.Protocol
{
    /// <summary>
    ///MsgProtocolConfig实体类
    ///对应表名:MSG_PROTOCOL_CONFIG
    /// </summary>
    [Serializable]
	[Table(Name = "MSG_PROTOCOL_CONFIG")]
    public class MsgProtocolConfigBean
    {
        
        #region Private 成员
        private string _protocol_code=String.Empty; 
        private string _protocol_name=String.Empty;   

        #endregion
  
        
        #region Public 成员
   
        /// <summary>
        /// 属性名称：ProtocolCode
        /// 属性描述：
        /// 字段信息：[PROTOCOL_CODE],nvarchar
        /// </summary>
        [Column(Name="PROTOCOL_CODE"),PK]
		public string ProtocolCode
        {
            get { return _protocol_code; }
            set
            {
            
                if(value==null)return;
                if (_protocol_code as object == null || !_protocol_code.Equals(value))
                {
                    _protocol_code = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：ProtocolName
        /// 属性描述：
        /// 字段信息：[PROTOCOL_NAME],nvarchar
        /// </summary>
        [Column(Name="PROTOCOL_NAME")]
		public string ProtocolName
        {
            get { return _protocol_name; }
            set
            {
            
                if(value==null)return;
                if (_protocol_name as object == null || !_protocol_name.Equals(value))
                {
                    _protocol_name = value;
                }
             }
        }
  
        #endregion 
  
    }
}
